/* Copyright 2007 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  background-color: white;
  color: black;
  margin: 10px;
}

body, input, textarea {
  font-family: Arial, sans-serif;
  font-size: medium;
}

#body {
  clear: both;
  margin: 1em 0 0 1em;
}

#header {
  margin: 1.5em 0 0 0;
}

#title, .top, .bottom {
  background-color: #c3d9ff;
}

.top {
  font-weight: bold;
  text-align: center;
}

#title {
  font-weight: bold;
  border-top: 1px solid #0000dd;
  padding: .3em;
}

#navbar {
  font-size: 80%;
  text-align: right;
}


/*
 * Links
 */
a:link {
  color: #0000cc;
}

a:active {
  color: red;
}

a:visited {
  color: #551a8b;
}

a img {
  border: none;
}

/*
 * Misc
 */
img.icon {
  vertical-align: middle;
}

img#openid-logo {
  float: left;
  background-color: white;
  margin-right: .5em;
  padding-right: .5em;
  margin-top: -1.5em;
}

.light {
  color: #999999;
  height: 5em;
}

.url {
  font-style: italic;
  color: #999922;
}

.nickname {
  font-weight: bold;
}

.error {
  color: red;
  font-style: italic;
}

span.success {
  color: #55aa55;
}

span.cancel {
  color: #aaaa55;
}

/*
 * Forms
 */
form {
  margin: 0 0 1em 0;
  padding: 0;
}

input#openid {
  background: #fff url("/static/openid-icon.png") no-repeat 2px 2px;
  padding-left: 1.5em;
}

a.button, input[type^="submit"], input[type^="button"] {
  margin: 0;
  padding: 2px 5px 2px 5px;
  font-family: Arial, Sans-serif;
  font-size: 12px;
  text-decoration: none;
  color: #222;
  cursor: default;
  background: #ddd url("/static/button-background.gif") repeat-x 0 0;
  border: 1px solid #aaa;
}

a.button:hover, input[type^="submit"]:hover, input[type^="button"]:hover {
  border-color: #9cf #69e #69e #7af;
}

/*
 * Round corners
 */
.top, .bottom {
  position: relative;
}

.right, .left {
  position: absolute;
  width: 4px;
  height: 4px;
}

.right { right: 0px; }
.left { left: 0px; }
.top div { top: 0px; }
.bottom div { bottom: 0px; }

.top .left {
  background-image: url("/static/round_top_left.png");
}

.top .right {
  background-image: url("/static/round_top_right.png");
}

.bottom .left {
  background-image: url("/static/round_bottom_left.png");
}

.bottom .right {
  background-image: url("/static/round_bottom_right.png");
}

table.logins th {
  background-color: #e8eef7;
}

table td {
  padding: .2em;
}

/*
 * Logins table
 */
tr.success, td.success, tr.cancel, td.cancel {
  border: 1px dotted #88dd88;
  background-color: #ccffcc;
}

tr.success:hover, tr.cancel:hover {
  background-color: #eeffee;
}

/* tr.cancel, td.cancel { */
/*   border: 1px dotted #dddd88; */
/*   background-color: #ffffdd; */
/* } */

/* tr.cancel:hover { */
/*   background-color: #ffffee; */
/* } */

tr.failure, td.failure {
  border: 1px dotted #dd8888;
  background-color: #ffcccc;
}

tr.failure:hover {
  background-color: #ffdddd;
}

table.logins {
  border-collapse: collapse;
  width: 100%;
}

div.top {
  padding: .2em;
}


table.logins tr {
  border-left: none;
  border-right: none;
}

td.kind {
  text-align: center;
}

table.key {
  margin: .5em;
  margin-left: 0;
  border-collapse: separate;
  width: auto;
  border-spacing: .3em;
}

/* * { */
/*   border: 1px solid green; */
/* } */
